package mas;

import rinde.sim.core.model.communication.CommunicationUser;
import rinde.sim.core.model.communication.Message;

public class BoxMessage extends Message {

	private Box box;
	private Truck receiver;
	private int counter;
	
	public BoxMessage(CommunicationUser sender, int counter, Box box, Truck receiver) {
		super(sender);
		this.box=box;
		this.receiver=receiver;
		this.counter=counter;
	}
	
	public Box getBox() {
		return box;
	}
	
	public int getCounter() {
		return counter;
	}
	
	public Truck getReceiver() {
		return receiver;
	}
}
